/**   
 * Copyright 2011 COMERE Harold
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package etrl.core;

import etrl.camera.Camera;

/**
 * \interface NodeVisitor
 * \brief Interface to define specialized node visitor.
 * @author harold
 *
 */
public interface NodeVisitor
{
	/**
	 * \brief Process to do when visiting a Node.
	 * @param[in] node Visited node.
	 */
	public abstract void visit(Node node);
	
	/**
	 * \brief Process to do when visiting a Geode.
	 * @param[in] geode Visited geode.
	 */
	public abstract void visit(Geode geode);
	
	/**
	 * \brief Process to do when visiting a Group.
	 * @param[in] group Visited group.
	 */
	public abstract void visit(Group group);
	
	/**
	 * \brief Process to do when visiting a Transform.
	 * @param[in] transform Visited transform.
	 */
	public abstract void visit(Transform transform);
	
	/**
	 * \brief Process to do when visiting a Lights.
	 * @param[in] lights Visited lights.
	 */
	public abstract void visit(Lights lights);
	
	/**
	 * \brief Process to do when visiting a Camera.
	 * @param[in] camera Visited camera.
	 */
	public abstract void visit(Camera camera);
}
